package com.niguang.labour.admin.mapper;

import com.niguang.labour.admin.entity.AdminLaborCompanySite;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 劳务公司工地关联关系表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2018-06-10
 */
public interface AdminLaborCompanySiteMapper extends BaseMapper<AdminLaborCompanySite> {

    List<Map<String, Object>> searchLabor(@Param("siteName") String siteName,
                                          @Param("userId") Long userId);


}